<!doctype html>
<html class="no-js" lang="en"> 
    <head>
      <meta charset="utf-8">
    
      <title></title>
      <meta content="" name="description">
      <meta content="" name="keywords">
      <meta name="author" content="">
    
          <meta  name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes"> 
          
    
          <link rel="stylesheet" href="css/style.css">



          <script src="js/libs/jquery-1.7.1.min.js"></script>
                     <script>
            var webdir='http://www.2admin.co.cc';
            var limit=10;
            var start=0;
            var pageselect=1;
            $(document).ready(function() {
                getdownload();
            });
            
            document.addEventListener("deviceready",onDeviceOk,false);
            function onDeviceOk()
            {        
            childBrowser = ChildBrowser.install();
            }
            function openpdf(pdf)
            {
                if((navigator.userAgent.match(/iPad/i)))
                {
                    window.plugins.childBrowser.showWebPage(webdir+'/uploads/'+pdf);
                }else
                {
                    
                }
                
            }
            function getdownload(){
                
                $.post(webdir+'/ajax.php',{functioncall:'getdownload',uid:localStorage.getItem("uid"),gid:localStorage.getItem("gid"),start:start,limit:limit} ,function(data) {
                 var myObject = eval('(' + data + ')');  
                 $('#downloadlist').html(''); 
                 for (variable in myObject.data)
                 {   
                 var obj = myObject.data[variable]; 
            //     var strobj='<tr><td>'+obj.topic+'</td><td>'+obj.desc+'</td><td><a href="javascript:openpdf(\''+obj.file+'\')">'+obj.file+'</a></td><td>'+obj.createdate+'</td></tr>';
                  var str=' <li><div class="member"><img  src="images/icon_doc.png"></div><div class="post"><strong>Filename :</strong>'+obj.topic+'<br><strong>Filetype :</strong>'+obj.filetype+'<br><strong>Upload Date :</strong>'+obj.createdate+'<span class="num green"><a href="'+webdir+'/uploads/'+obj.file+'"><img src="images/download.png" width="129" height="39"></a></span></div></li>';
                 
                 $('#downloadlist').append(str);
             }
             
                 
             var totalpage=Math.ceil((myObject.count)/(limit) );
             
             $('.pagebarUTH').html('');
             $('.pagebarUTH').append('<a href="javascript:;" title="Seite 2">จำนวนกระทู้ '+myObject.count+'</a>&nbsp;');
             if(totalpage!=1)
             {
                var previous= totalpage-1;
                 $('.pagebarUTH').append('<a href="javascript:changepage('+previous+');" title="Seite 2"><< Previous</a>&nbsp;');
             }
             
             for(var i=1;i<=totalpage;i++)
             {
                 if(i==pageselect)
                 {
                  var strlink='<span class="this-page">'+i+'</span>';   
                 }else
                 {
                  var strlink='<a href="javascript:changepage('+i+');" title="Seite 2">'+i+'</a>';    
                 }
                 $('.pagebarUTH').append(strlink);
                 
             }
             
             if(totalpage!=1)
             {
                var next= totalpage+1;
                 $('.pagebarUTH').append('<a href="javascript:changepage('+next+');" title="Seite 2">Next >></a>');
                 $('.pagebarUTH').append('<a href="javascript:changepage('+totalpage+');" title="Seite 2">Last</a>');
             }
                });
            
                
            }
           </script>
        





<link rel="stylesheet" href="css/login.css"> 


        
    </head>

<body >
  <div class="container">
          <header>
              <h1><a href="http://www.infostant.com" class="ir">infostant</a></h1>

              <h2 class="ir">Delight Your Information</h2>
              <h3 class="ir">Directory Yellow Pages <em>Information around the world</em></h3>
                                                <form name="login" method="post" action="ajax/logoutuser">    
                                <section id="login"> 
                                <p><div  style="padding-right: 10px; float: left;"><a href="nongdark46">nongdark46</a></div><div style=" float: left;"><input type="image" src="images/logout.png" ></div></p>
                                 
                                                                 </section>  
                                      </form>      
                        
              <nav>
                <p><a href="http://www.infostant.com">Home</a> | <a href="package">Package</a> | <a href="service">Service</a> | <a href="promotion">Promotion</a> | <a href="aboutus">About Us</a> | <a href="contact">Contact Us</a></p>

            </nav>
            <div style="display:none;" id="homeinfo">http://www.infostant.com</div> 
          </header>
        <div id="webdir" style="display: none;">http://www.infostant.com</div>
<div id="subdir" style="display: none;">infostant.com</div>
          <div id="main" role="main" class="clearfix">
              <aside>
                  <a href="javascript:void(0);"><img src="images/img-avatar.jpg" alt="img-avatar" /></a>

                  <h3>Feature</h3> <ul class="v">
                       <li><a href="forum.html" class="icon">Forum</a></li>
                      <li><a href="index.html" class="icon">Calendar</a></li>
                      <li><a href="message.html" class="icon">Private Message</a></li>
                      <li><a href="meetingroom.html" class="icon">Meeting Room</a></li>
                      <li><a href="download.html" class="icon">Document Download</a></li>
                  </ul>
              </aside>
              
              <article>

                  
                   <section class="clearfix" id="featured">
                   <img src="images/img_featured_4.jpg" alt="featured" />
                   
                   </section>
                  
                  
                   
                  
                  <section class="clearfix" id="itenary">
                      <h4 class="document">Download PDF</h4>
                      
                      

    
                      <div id="downloaddoc">
                          <ul class="latest" id="downloadlist">

                              


                          
                          
                          
                          </ul>
                      </div>
                      
                      
                      <dl id="event">
                      <dt></dt>
                          <dd>
                              <table>
                                  <tbody></tbody>
                                  <tfoot>
                                      <tr>
                                          <td id="pagination" colspan="7">
                                              <label for="page">Page  1 of  0</label>  <a href="">›</a>                                          </td>
                                      </tr>
                                  </tfoot>
                              </table>
                          </dd>
                      </dl>
                      
                      
                      


                            
                    
                      
                  
                      
                      
</section>
                  
                  
                  
                   
                  
</article>
                </div>   <footer>
              <nav>

                  <p><a href="http://www.infostant.com">Home</a> | <a href="package">Package</a> | <a href="service">Service</a> | <a href="promotion">Promotion</a> | <a href="contact">Contact Us</a></p>
                  <p id="copyright">Copyright &copy; 2011. All Rights Reserved.</p>

              </nav>
          </footer>
  </div> <!-- .container -->


  <!-- JavaScript at the bottom for fast page loading -->
<script src="js/default/login.js"></script>
  <!-- end scripts -->


</body>
</html>

